<!--<?php
require_once template('header'); 
print <<<EOT
	<!-- 右边开始 -->
		<div id="location"><p><b>$navigation</b></p></div>
		<div class="member_xg">
<!--
EOT;
if($mm_close==0 && $mm_adminid!=1){
print <<<EOT
-->		
			<fieldset>
				<legend>$lang[close_msg]</legend>
              $mm_close_desc
			</fieldset>
<!--
EOT;
} print <<<EOT
-->	
			<div class="title8"><span>$lang[user_login]</span></div>
			<div class="member_l">
				<form method="post" action="" name="mvmmall_main_login" onsubmit="javascript:return check_main_login()">
				<input type="hidden" name="referer" value="$referer">
				<input type="hidden" name="setp" value="1">
				<h3>$lang[login_msg]</h3>
				<p><input name="login_class" type="radio" value="1" checked  />$lang[user_id] <input name="login_class" type="radio" value="2"/> E-mail <input name="login_id" type="text" maxlength="40" class="inp" style="width:110px;" /></p>
				<p>$lang[login_pass]：<input style="width:172px;" name="login_pass" type="password" maxlength="40" class="inp" /></p>
<!--
EOT;
if($mm_login_code==1 && $mm_close==1){
print <<<EOT
-->
				<p>$lang[captcha]：<input name="code" onkeyup="pressCaptcha(this)" type="text" class="inp" id="code" size="12" maxlength="8" style="width:120px;" />  <img align="absbottom" src="ajax.php?action=code"  onclick=this.src="ajax.php?action=code&"+Math.random() style="cursor: pointer;" title="$lang[click_captcha]"/></p>
<!--
EOT;
}elseif($mm_close==0 && $mm_adminid!=1) {
print <<<EOT
-->
<input type="hidden" name="code" value="$captcha">
<!--
EOT;
} print <<<EOT
-->						
				<p><input name="login" type="submit" class="btn2" value="$lang[login]" />
<!--
EOT;
if($direct==1){
print <<<EOT
-->					
				<input name="" type="button" value="$lang[login_buy]" class="btn2 inp3" onclick="javascript:window.open('$referer&step=1');" />
<!--
EOT;
}else { print <<<EOT
-->	
                <input  type="reset" class="btn2" value="$lang[reset]" />
<!--
EOT;
} print <<<EOT
-->	
				</p>
				</form>
			</div>
			<div class="member_r">
				<h3>$lang[reg_msg]</h3>
				<p><a href="$mm_url[user_reg]">$lang[user_reg]</a></p>
				<p>$lang[reg_msg]<a href="$mm_url[user_reg]">$lang[user_reg]</a></p>
				<p><a href="lostpass.php?action=lostpasswd">$lang[sitemap_loss]</a></p>
				<p>$lang[sitemap_loss]</p>
			</div>
		</div>
		<div class="title_b"><p></p></div>
<!-- 右边结束 -->
<!--
EOT;
?>-->